/**
 * 
 */ 
package com.laozhao.EasySales.view; 

import java.awt.BorderLayout;

import javax.swing.JLabel;

import com.laozhao.EasySales.model.AbstractModel;

/** 
 * @author dozhao 
 * @version create time：Aug 3, 2011 4:29:33 PM 
 * 
 */
/**
 * @author dozhao
 *
 */
public class WelcomePanel extends AbstractPanel {

	public WelcomePanel(){
		initCompants();
	}	

	/* (non-Javadoc)
	 * @see com.laozhao.EasySales.view.AbstractPanel#init()
	 */
	@Override
	public void init() {
		
	}
	
	/* (non-Javadoc)
	 * @see com.laozhao.EasySales.view.AbstractPanel#getDataModel()
	 */
	@Override
	public AbstractModel getDataModel() {
		return null;
	}

	/* (non-Javadoc)
	 * @see com.laozhao.EasySales.view.AbstractPanel#getTitle()
	 */
	@Override
	public String getTitle() {
		panelTitle = "Welcome";
		return panelTitle;
	}


	private void initCompants() {
		setLayout(new BorderLayout());
		JLabel welcomLabel = new JLabel("欢迎进入赵栋萌 化肥销售系统！");
		
		this.add(welcomLabel,BorderLayout.CENTER);
		
	}
}
 